package com.liang.dao.provider;

import com.liang.pojo.Provider;

import javax.xml.crypto.Data;
import java.sql.Connection;
import java.util.Date;
import java.util.List;

public interface ProviderDao {
    public Integer getCount(Connection connection, String proCode, String proName);
    public List<Provider> getProviderList(Connection connection, String proCode, String proName, int pageNo, int pageSize);
    public Provider getProviderView(Connection connection, Integer id);
    public Boolean updateProvider(Connection connection, Integer id, String proCode, String proName, String proContact,
                                  String proPhone, String proAddress, String proFax, String proDesc, Integer modifyBy, Date modifyDate);
    public Boolean insertProvider(Connection connection, String proCode, String proName, String proContact,
                                  String proPhone, String proAddress, String proFax, String proDesc, Integer createdBy, Date creationDate);
    public Provider getProvideOfProCode(Connection connection,String proCode);

    public Boolean deleteProvider(Connection connection,Integer id);







}
